import request from '@/utils/request'
export const postAuthorization = (data: { roleId: number; rids: string[] }) => {
  return request({
    url: `roles/${data.roleId}/rights`,
    method: 'post',
    data,
  })
}
